package com.haoxi.gateway.cmpp30msg;

/**
 * Title:CMPP3.0,2004.09
 */

import java.io.IOException;
import java.io.OutputStream;


/**
 * ����ActiveTest��Ϣ,ʵ��CMPP3.0 CMPP_Active_Test
 */
public class CMPPActiveTest {
    /**
     * ��������Ϣ��
     */
    private byte[] outbytes = null;

    public CMPPActiveTest ( int SequenceID ) {
        CMPPMsgHead head = new CMPPMsgHead ( CMPPCommon.MSG_HEAD_LENGTH, CMPPCommon.CMPP_ACTIVE_TEST, SequenceID );
        outbytes = head.getMsgHead ();
    }

    /**
     * ��ActiveTest��Ϣд���ƶ����
     *
     * @param out �����
     * @throws java.io.IOException ��output Stream����Υ��
     */
    public void write ( OutputStream out ) throws IOException {
        out.write ( outbytes );
        out.flush ();
    }
}